<?php
header('Content-Type:text/html; charset=windows-874');

$admin_delete_str_dip = $_POST['admin_delete_str_dip'];
$delete_admin_req_dip = $_POST['delete_admin_req_dip'];

include 'connect.php';

if($admin_delete_str_dip != NULL) {

	$sqls_d1 = "use eiso ";
	$sqls_d1 .= " delete from request_diploma ";
	$sqls_d1 .= " where re_diploma_id = ".$admin_delete_str_dip;

	$result_1 = mssql_query($sqls_d1);
}

if($delete_admin_req_dip != NULL) {

	$sqls_d2 = "use eiso ";
	$sqls_d2 .= " delete from request_diploma ";
	$sqls_d2 .= " where re_diploma_id = ".$delete_admin_req_dip;

	$result_2 = mssql_query($sqls_d2);
}

?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
</head>